//
//  NoticeViewController.m
//  RENTVISITOR
//
//  Created by wonder on 2017/8/22.
//  Copyright © 2017年 UNN. All rights reserved.
//

#import "NoticeViewController.h"
#import "RentVieitor.h"

@interface NoticeViewController ()

@end

@implementation NoticeViewController

- (void)viewWillAppear:(BOOL)animated {
    
//    self.navigationController.navigationBar.barTintColor = [UIColor colorWithRed:223/250.0 green:128/255.0 blue:31/255.0 alpha:1];
    [self.navigationController.navigationBar setTitleTextAttributes:
     @{NSFontAttributeName:[UIFont systemFontOfSize:17],
       NSForegroundColorAttributeName:[Utils colorConvertFromString:@"#333333"]}];
    self.navigationController.navigationBar.translucent = YES;
    
}


- (void)viewDidLoad {
    [super viewDidLoad];
    
    self.view.backgroundColor = BackgroundColor;
    [self creatview];
}

- (void)creatview {
    
    UIImageView *imgView = [[UIImageView alloc] initWithFrame:CGRectMake(80, 250/2, KWidth-200, (KWidth-160)*257/592)];
    imgView.image = [UIImage imageNamed:@"lackimg"];
    [self.view addSubview:imgView];
    
    UILabel *proLabel = [[UILabel alloc] initWithFrame:CGRectMake(0,250/2+(KWidth-200)*257/592+30,  KWidth, 20)];
    proLabel.text = @"该功能正在完善中";
    proLabel.textColor = [Utils colorConvertFromString:@"#101010"];
    proLabel.font = [UIFont systemFontOfSize:15];
    proLabel.textAlignment = NSTextAlignmentCenter;
    [self.view addSubview:proLabel];
    
    UILabel *proLabel2 = [[UILabel alloc] initWithFrame:CGRectMake(0,250/2+(KWidth-200)*257/592+30+30,  KWidth, 20)];
    proLabel2.text = @"即将上线,敬请期待";
    proLabel2.textColor = [Utils colorConvertFromString:@"#101010"];
    proLabel2.font = [UIFont systemFontOfSize:15];
    proLabel2.textAlignment = NSTextAlignmentCenter;
    [self.view addSubview:proLabel2];
    
    UILabel *proLabel3 = [[UILabel alloc] initWithFrame:CGRectMake(0,250/2+(KWidth-200)*257/592+30+30+30,  KWidth, 20)];
    proLabel3.text = @"更多详情关注:www.zuke.com";
    proLabel3.textColor = [Utils colorConvertFromString:@"#101010"];
    proLabel3.font = [UIFont systemFontOfSize:15];
    proLabel3.textAlignment = NSTextAlignmentCenter;
    [self.view addSubview:proLabel3];
}


@end
